Function.prototype._apply = function (context, ...args) {
    const ctx = context || window;
    const fnName = Symbol();
    ctx[fnName] = this;

    const result = ctx[fnName](...args);
    delete ctx[fnName];

    return result;
}